﻿<controls:ChildWindow x:Class="MedLink2011.Views.ClinicCharts.ChildWindows.Evaluation_ConstitutionalsCW"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
mc:Ignorable="d"
Title="Evaluation_ConstitutionalsEditWindow"
xmlns:viewModels="clr-namespace:MedLink2011.Views.ClinicCharts.ViewModels" 
xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
xmlns:appControls="clr-namespace:MedLink2011.Controls">
<!--17 Fields --> 
    <controls:ChildWindow.Resources>
        <viewModels:Evaluation_ConstitutionalViewModel x:Key="Evaluation_ConstitutionalViewModel"></viewModels:Evaluation_ConstitutionalViewModel>
    </controls:ChildWindow.Resources>
    <appControls:BusyIndicator x:Name="BusyIndicator" BusyContent="Loading Patients data...." DataContext="{Binding Source={StaticResource Evaluation_ConstitutionalViewModel}}" Foreground="SlateGray" IsBusy="{Binding IsBusy}">
<Grid x:Name="LayoutRoot" DataContext="{Binding Source={StaticResource Evaluation_ConstitutionalViewModel}}" Background="WhiteSmoke" >
        <Border BorderBrush="#FF505050"  BorderThickness="2"  CornerRadius="10">
            <Border.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#EDD1DE86" Offset="0.8" />
                    <GradientStop Color="AliceBlue" Offset="1.09" />
                </LinearGradientBrush>
          </Border.Background>
<ScrollViewer x:Name="scrollViewerEvaluation_Constitutionals" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" >
<Grid HorizontalAlignment="Left" x:Name="Evaluation_ConstitutionalsGrid" VerticalAlignment="Top">
<Grid.RowDefinitions>
<RowDefinition Height="32" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
    <ColumnDefinition Width="30" />
    <ColumnDefinition Width="Auto" />
    <ColumnDefinition Width="Auto" />
	<ColumnDefinition Width="50" />
	<ColumnDefinition Width="Auto" />
	<ColumnDefinition Width="Auto" />
    <ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>


<StackPanel Grid.Column="1" Grid.Row="1" Orientation="vertical"  >
<TextBlock Height="20" Margin="0,5" ToolTipService.ToolTip="Evaluation Cons Id" ToolTipService.Placement="Right" Text="Evaluation Cons Id:"  Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Height" ToolTipService.Placement="Right" Text="Height:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Weight" ToolTipService.Placement="Right" Text="Weight:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Temperature" ToolTipService.Placement="Right" Text="Temperature:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Pulse Rate" ToolTipService.Placement="Right" Text="Pulse Rate:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Rhythm Regular" ToolTipService.Placement="Right" Text="Rhythm Regular:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Rhythm Lrregular" ToolTipService.Placement="Right" Text="Rhythm Lrregular:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Blood Pressure Sitting" ToolTipService.Placement="Right" Text="Blood Pressure Sitting:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />

</StackPanel>
<StackPanel Grid.Column="2" Grid.Row="1" Orientation="vertical"  >
<TextBlock  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Evaluation_Cons_idTextBox" Text="{Binding Path=CurrentEvaluation_Constitutional.Evaluation_Cons_id, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" />
<TextBox ToolTipService.ToolTip="Height" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="HeightTextBox" Text="{Binding Path=CurrentEvaluation_Constitutional.Height, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Weight" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="WeightTextBox" Text="{Binding Path=CurrentEvaluation_Constitutional.Weight, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Temperature" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="TemperatureTextBox" Text="{Binding Path=CurrentEvaluation_Constitutional.Temperature, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Pulse Rate" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Pulse_RateTextBox" Text="{Binding Path=CurrentEvaluation_Constitutional.Pulse_Rate, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Rhythm Regular" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Rhythm_RegularCheckBox" IsChecked="{Binding Path=CurrentEvaluation_Constitutional.Rhythm_Regular, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Rhythm Lrregular" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Rhythm_lrregularCheckBox" IsChecked="{Binding Path=CurrentEvaluation_Constitutional.Rhythm_lrregular, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Blood Pressure Sitting" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Blood_Pressure_sittingTextBox" Text="{Binding Path=CurrentEvaluation_Constitutional.Blood_Pressure_sitting, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />

</StackPanel>
                        <StackPanel Margin="0,10" Grid.Column="0" Grid.Row="2" Orientation="Horizontal"  Grid.ColumnSpan="3">
                            <Button Margin="20,0,0,0" Style="{StaticResource GreenButton}" x:Name="CancelButton" Content="Cancelar"  Background="Blue" Width="75" Height="23" HorizontalAlignment="Right"  />
                            <Button Margin="20,0,0,0" Style="{StaticResource OrangeButton}" x:Name="SaveButton" Content="Guardar" Background="Green" Width="75" Height="23" HorizontalAlignment="Right" Command="{Binding SaveEvaluation_ConstitutionalCommand}" />
                        </StackPanel>
           <StackPanel Orientation="Horizontal" Margin="0,20,0,0" Grid.Column="5" Grid.Row="1" >
                <StackPanel Orientation="Vertical" Margin="0,10,0,0" Grid.Column="6" Grid.Row="1" >
                    <TextBlock Height="20" ToolTipService.ToolTip="Blood Pressure Standing" ToolTipService.Placement="Right" Text="Blood Pressure Standing:"  Margin="0,10,0,0"  Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Blood Pressure Lying" ToolTipService.Placement="Right" Text="Blood Pressure Lying:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Respiratory Rate" ToolTipService.Placement="Right" Text="Respiratory Rate:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Evaluation Const Notes" ToolTipService.Placement="Right" Text="Evaluation Const Notes:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Clinic Chart Id" ToolTipService.Placement="Right" Text="Clinic Chart Id:"  Margin="0,5"  Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />

                </StackPanel>
                <StackPanel Orientation="Vertical" Margin="0,10,0,0" >
                    <TextBox ToolTipService.ToolTip="Blood Pressure Standing" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Blood_Pressure_standingTextBox" Text="{Binding Path=CurrentEvaluation_Constitutional.Blood_Pressure_standing, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Blood Pressure Lying" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Blood_Pressure_lyingTextBox" Text="{Binding Path=CurrentEvaluation_Constitutional.Blood_Pressure_lying, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Respiratory Rate" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Respiratory_RateTextBox" Text="{Binding Path=CurrentEvaluation_Constitutional.Respiratory_Rate, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Evaluation Const Notes" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Evaluation_Const_NotesTextBox" Text="{Binding Path=CurrentEvaluation_Constitutional.Evaluation_Const_Notes, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="1000"/>
<TextBlock  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="ClinicChart_IdTextBox" Text="{Binding Path=ClinicChart_Id, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120"  />

                </StackPanel>
            </StackPanel>
    
    
      
        </Grid>
        </ScrollViewer>
        </Border>
    </Grid>
    </appControls:BusyIndicator>
</controls:ChildWindow>
